.el-menu--popup {
  margin-left: -10px;
  background-color: #fff;
  .el-menu-item {
    background-color: rgb(32, 34, 42);
    span,
    i {
      color: rgb(184, 182, 187);
    }
    &.is-active {
      background-color: rgba(0, 0, 0, 1);
      span,
      i {
        color: #fff;
      }
      &:hover {
        background-color: rgba(0, 0, 0, 1);
      }
    }
    &:hover {
      background-color: rgb(32, 34, 42);
      i,
      span {
        color: #fff;
      }
    }
  }
}

.el-dropdown-menu__item {
  font-size: 12px !important;
  line-height: 28px !important;
}

.el-card.is-always-shadow {
  box-shadow: none;
  border: none !important;
}

.el-scrollbar__view {
  height: 100%;
}

.el-menu--horizontal {
  border-bottom: none !important;
}

.el-menu {
  border-right: none !important;
}

.el-menu--display,
.el-menu--display + .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown-menu__item--divided:before,
.el-menu,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
.el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent;
}

.el-message__icon,
.el-message__content {
  display: inline-block;
}

.el-date-editor .el-range-input,
.el-date-editor .el-range-separator {
  height: auto;
  overflow: hidden;
}

.el-dialog__wrapper {
  z-index: 2048;
}

.el-col {
  margin-bottom: 8px;
}

.el-main {
  padding: 0 !important;
}

.el-dropdown-menu__item--divided:before,
.el-menu,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):focus,
.el-menu--horizontal > .el-menu-item:not(.is-disabled):hover,
.el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  background-color: transparent !important;
}

.el-button + .el-button,
.el-checkbox.is-bordered + .el-checkbox.is-bordered {
  margin-left: 5px;
}

// 表格操作列不显示按钮
.el-table__body-wrapper,
.el-table__fixed-body-wrapper {
  button {
    i {
      display: none;
    }
  }
}

.el-dialog__header {
  .avue-crud__dialog__menu {
    i {
      cursor: pointer;
    }
  }
}

.avue-crud__menu {
  display: flex;
  align-items: center;
}
.hide-menu {
  .avue-crud__menu {
    display: none;
  }
}
.avue-crud__header {
  min-height: auto;
}

.avue--detail .avue-group__header {
  border: none !important;
  padding-left: 0;
}
.avue--detail .el-form-item__content {
  border: none !important;
}
.avue--detail .el-col {
  padding: 0 !important;
  border-bottom: none;
  border-right: none;
}
.avue--detail .el-row {
  border-left: none;
  border-top: none;
  border-bottom: none;
  border-right: none;
}
.avue--detail .el-form-item__label {
  // color: #222222 !important;
  background: none !important;
  padding-right: 0;
}
.avue--detail .el-textarea__inner {
  height: 60px !important;
  min-height: 50px !important;
}
.avue--detail .el-input.is-disabled .el-input__inner,
.avue--detail .el-range-editor.is-disabled,
.avue--detail .el-range-editor.is-disabled input,
.avue--detail .el-textarea.is-disabled .el-textarea__inner {
  color: #333;
}
.avue--detail div[disabled] .el-input__inner {
  padding-left: 0;
}
.avue--detail .el-range-editor.is-disabled input {
  width: 132px;
}
.avue--detail .el-form-item__content,
.avue--detail .el-form-item__label {
  padding-top: 0;
  padding-bottom: 0;
}
.avue--detail .el-form-item__label {
  color: #606266;
}

.avue--detail .detail-input {
  border: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  height: 36px !important;
  color: #303133 !important;
}

.avue-crud__dialog {
  .avue-crud__dialog__menu {
    margin-right: 17px;
  }
}

.avue--detail .el-select .select-trigger .el-input__wrapper:hover {
  box-shadow: none !important;
}

.avue--detail .el-form-item--medium.el-form-item {
  background-color: transparent;
}
.avue--detail .el-form-item--medium.el-form-item,
.avue--detail .el-form-item--mini.el-form-item,
.avue--detail .el-form-item--small.el-form-item {
  background: none;
  padding-right: 0;
  margin-bottom: 9px;
}

.avue-crud {
  .el-table__header {
    th {
      background-color: #fafafa !important;
    }
  }
}

.avue-crud__tip .el-button {
  padding: 0;
}

// 低版本会存在不兼容此选择器的问题，如果需要进行兼容出现问题请注释掉此样式
.avue-crud__menu {
  // display: none;
  // &:has(button) {
  //   display: flex;
  //   align-items: center;
  // }
  min-height: auto;
}
.avue-form {
  .avue-group__header {
    position: relative;
    padding-left: 20px;
    &::before {
      content: '';
      position: absolute;
      width: 6px;
      height: 44%;
      background-color: red;
      left: 6px;
      border-radius: 4px;
    }
  }
}

.avue-upload__avatar {
  line-height: 148px !important;
}
